<div class="container-fluid">
    <h3 style="color:#8C525B;border-bottom:1px solid #F1F1F1;padding-bottom:10px;padding-left:10px;">客户状态列表</h3>
    <div class="panel panel-default">
        <div class="panel-heading">
            <p class="panel-title" style="height:35px;line-height:35px">
            客户信息列表
                <a href="cstat.php?action=add" class="btn btn-info pull-right">添加</a>
            </p>
        </div>
        <div class="panel-body">
            <table class="table table-bordered">
                 <tr>
                     <th>序号</th>
                     <th>客户状态</th>
                     <th>状态描述</th>
                     <th>操作</th>
                 </tr>
                 <?php if(isset($res)):?>
                 <?php foreach($res as $v):?>
                 <tr>
                     <td><?php echo $v['cstat_id'];?></td>
                     <td><?php echo $v['cstat_stat'];?></td>
                     <td><?php echo $v['cstat_info'];?></td>
                     <td><a href="cstat.php?action=update&cstat_id=<?php echo $v['cstat_id'];?>"><span class="glyphicon glyphicon-edit"></span>编辑</a>|<a href="cstat.php?action=delete&cstat_id=<?php echo $v['cstat_id'];?>"><span class="glyphicon glyphicon-trash"></span>删除</a></td>
                </tr>
                <?php endforeach;?>
                <?php endif;?>
            </table>

        </div>
    </div>
</div>